#ifndef __VISION_CPU_TENSOR_H__
#define __VISION_CPU_TENSOR_H__

#include "common/status.h"
#include "common/device.h"

#include <memory>

namespace vision {

class CPUDevice: public Device {
public:
    CPUDevice() {}
    ~CPUDevice() {}

    void* Alloc(const size_t bytes);
    void Free(void* ptr);

    Status CopyFromTo(Device& device, const char* from, char* to, const size_t bytes);
    Status MapFromTo(Device& device, const char* from, char* to, const size_t bytes);

};

} // namespace vision

#endif // __VISION_CPU_TENSOR_H__